import request from '@/utils/request'
const baseApi="/gardenWork"
//获取分页
export function getPageList(data) {
  return request({
    url: `${baseApi}/getPageList`,
    method: 'post',
    data 
  })
}
//添加和修改园地信息
export function saveOrUpdate(data) {
  return request({
    url: `${baseApi}/saveOrUpdate`,
    method: 'post',
    data 
  })
}
//删除园地信息
export function deleteData(params) {
  return request({
    url: `${baseApi}/delete`,
    method: 'get',
    params
  })
}
export function getList(data) {
  return request({
    url: `${baseApi}/getList`,
    method: 'post',
    data
  })
}